<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
    
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>


<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
</head>
<body>

	<!-- http://localhost:8080/Department06/department/list.do -->
	<!-- 显示所有的页面 -->
	
	
	<table border="1" width="500px">
	
		<tr>
			<td>部门编号</td>
			<td>部门名称</td>
			<td>操作</td>
		</tr>
		
		<!-- 下面的行数  = departmentList.size  -->
		<!-- 下面的列数  = DepartmentEntity 里面的属性相关  -->
		
		<!-- 掌握el表达式的循环的写法 -->
		
		
		<!-- 
		-->
		
		<c:forEach items="${departmentList}" var="dog">
			<tr>
				<td>${dog.departmentCode}</td>
				<td>${dog.departmentName}</td>
				
				<td>删除  修改</td>
			</tr>
 		</c:forEach>
	</table>

</body>
</html>